

import java.io.IOException;

import file_rw.FileRW;
import index.Btree.BtreeNode;
import index.Btree.Btree;
public class test {
	
	public static void main(String args[]) throws IOException{
		
		
		
		
		
		System.out.println("new test");
		String filename = "./source/test.id";
		
		FileRW fr = new FileRW();
		fr.reset(filename);
		
		Btree bt = new Btree();
		String temp = "";
		
		
		
//		BtreeNode bn = new BtreeNode(1);
		bt.setAuthor("zhaoqunsyyyyy");
		bt.setKn(1);
		bt.setRootNum(1);
		bt.setBtree(1, 1, 0, 2.1, 1, filename);
		temp = bt.getAuthor();

		BtreeNode bn = new BtreeNode(1);
		bn.setNode(0, -1, -1, -1, -1, null, null);
		bn.setnodeByte();
		
		
		
		
		
		for(int i =1;i<2;i++){
	//		bt.insert(i);
			System.out.println(i+"----");
		}
		
		
		
	 
		 System.out.println(temp);
	    System.out.println("ok!");
	    return ;
	}

}
